package org.jeecg.modules.manage.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.manage.entity.CaishuiServiceCompany;

import java.util.List;
import java.util.Map;

/**
 * @Description: 服务公司（税源地）
 * @Author: yfkj
 * @Date:   2023-03-01
 * @Version: V1.0
 */
@InterceptorIgnore(tenantLine = "true")
public interface MCaishuiServiceCompanyMapper extends BaseMapper<CaishuiServiceCompany> {

    /**
     * 查询服务公司总数
     * @param params
     * @return
     */
    public long queryCompanyTotal(@Param("params") Map<String, String> params);

    /**
     * 最近7天服务公司统计
     * @return
     */
    public List<Map<String,Object>> last7DaysCompanyStatistics(@Param("params") Map<String, String> params);

}
